package com.codingclub.application.convert;

import com.codingclub.application.dto.SubjectCategoryDTO;
import com.codingclub.application.dto.SubjectInfoDTO;
import com.codingclub.domain.bo.SubjectCategoryBO;
import com.codingclub.domain.bo.SubjectInfoBO;
import com.codingclub.infra.basic.entity.SubjectCategory;
import com.codingclub.infra.basic.entity.SubjectInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectInfoDTOConverter {
    SubjectInfoDTOConverter INSTANCE= Mappers.getMapper(SubjectInfoDTOConverter.class);

    SubjectInfoBO convertDtoToBo(SubjectInfoDTO dto);

    SubjectInfo convertDtoToEntity(SubjectInfoDTO dto);

    List<SubjectInfoDTO> convertBoToDtoList(List<SubjectInfoBO> boList);
}
